package com.example.demo.kafka.entity;

import java.io.Serializable;

/**
 * Created by ssd on 2018/6/15.
 */
public class User implements Serializable{
    private Integer id;
    private String name;
    @Override
   public String toString(){
       return "[id="+id+",name="+name+"]";
   }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
